// 1引入Vue
import Vue from "vue";
// 2引入Vuex
import Vuex from "vuex";
//引入count模块(count小仓库)
import count from "./count";

// 让Vue使用vuex插件
Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    count: count,
  },
});
